﻿/**
 * Licensed to Open-Ones Group under one or more contributor license
 * agreements. See the NOTICE file distributed with this work
 * for additional information regarding copyright ownership.
 * Open-Ones Group licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a
 * copy of the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on
 * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
namespace IPresenter
{
    using System;
    using System.Collections.Generic;
    using System.Text;

    /// <summary>
    /// Options of user
    /// </summary>
    public class OptionIPresenter
    {
        /// <summary>
        /// Type Name of program which use to open presentation
        /// </summary>
        public const string KIND_POWERPOINT = "powerpoint";

        /// <summary>
        /// Type Name of program which use to open presentation
        /// </summary>
        public const string KIND_OPENOFFICE = "openoffice";

        /// <summary>
        /// Mode default do not allow user choice file presentation
        /// </summary>
        public const string MODE_DEFAULT = "default";

        /// <summary>
        /// Mode default allow user choice file presentation
        /// </summary>
        public const string MODE_EXTEND = "extend";

        /// <summary>
        /// Type of mission
        /// </summary>
        public const string DUTY_SERVER = "server";

        /// <summary>
        /// Type of mission
        /// </summary>
        public const string DUTY_CLIENT = "client";

        /// <summary>
        /// Determine whether presentation is opened by Powerpoint or Openoffice.
        /// </summary>
        private static string KOPresentation;

        /// <summary>
        /// Determine whether mode is chosen default or extend
        /// </summary>
        private static string OptionMode;

        /// <summary>
        /// Determine whether mission is chosen Server or client
        /// </summary>
        private static string OptionDuty;

        /// <summary>
        /// Gets or sets kind of presentation.
        /// </summary>
        public static string KindOfPresentation
        {
            get { return OptionIPresenter.KOPresentation; }
            set { OptionIPresenter.KOPresentation = value; }
        }

        /// <summary>
        /// Gets or sets strMode
        /// </summary>
        public static string Mode
        {
            get { return OptionMode; }
            set { OptionMode = value; }
        }
    
        /// <summary>
        /// Gets or sets Option Duty
        /// </summary>
        public static string Duty
        {
            get { return OptionIPresenter.OptionDuty; }
            set { OptionIPresenter.OptionDuty = value; }
        }
    }
}
